<template>
  <Card class="card">
    <p slot="title">
      <Icon type="ios-analytics"/>
      数据监控
    </p>

    <div  style="position: relative;height: 600px">
      <iframe :src="getUrl" width="100%" height="100%" frameborder="0">
      </iframe>
    </div>
  </Card>
</template>

<script>
  export default {
    name: "DataBase",
    data() {
      return {
        src: this.baseUrl
      }
    },
    computed: {
      getUrl() {
        return this.src.replace("background", "druid/index.html")
      }
    }
  }
</script>

<style lang="stylus" scoped>
  .card
    height: 100%
    position:relative
    .ivu-card-body
      height: 100%
</style>
